﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="online.aspx.cs" Inherits="TCMSystem.admin.online" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <ext:PageManager ID="PageManager1" AutoSizePanelID="Panel1" runat="server" />
    <ext:Panel ID="Panel1" runat="server" BodyPadding="5px" EnableLargeHeader="false"
        EnableBackgroundColor="true" ShowBorder="false" Layout="VBox" BoxConfigAlign="Stretch"
        BoxConfigPosition="Start" ShowHeader="false" Title="日志管理">
        <Items>
            <ext:Form ID="Form2" runat="server" Height="36px" BodyPadding="5px" ShowHeader="false"
                ShowBorder="false" EnableBackgroundColor="true">
                <Rows>
                    <ext:FormRow ID="FormRow1" runat="server">
                        <Items>
                            <ext:TwinTriggerBox ID="ttbSearchMessage" runat="server" ShowLabel="false" EmptyText="在用户名中搜索"
                                Trigger1Icon="Clear" Trigger2Icon="Search" ShowTrigger1="false" OnTrigger2Click="ttbSearchMessage_Trigger2Click"
                                OnTrigger1Click="ttbSearchMessage_Trigger1Click">
                            </ext:TwinTriggerBox>
                            <ext:Label ID="Label1" runat="server">
                            </ext:Label>
                        </Items>
                    </ext:FormRow>
                </Rows>
            </ext:Form>
            <ext:Grid ID="Grid1" runat="server" BoxFlex="1" ShowBorder="true" ShowHeader="false"
                EnableCheckBoxSelect="false" EnableRowNumber="true" DataKeyNames="Logid" AllowSorting="true"
                OnSort="Grid1_Sort" SortColumnIndex="0" SortDirection="DESC" AllowPaging="true"
                IsDatabasePaging="true" OnPageIndexChange="Grid1_PageIndexChange">
                <Columns>
                    <ext:BoundField DataField="UpdateTime" SortField="UpdateTime" DataFormatString="{0:yyyy-MM-dd HH:mm}"
                        Width="120px" HeaderText="最后操作时间" />
                    <ext:BoundField DataField="LoginTime" SortField="LoginTime" Width="120px" DataFormatString="{0:yyyy-MM-dd HH:mm}"
                        HeaderText="登录时间" />
                    <ext:BoundField DataField="UserName" SortField="UserName" Width="100px" HeaderText="用户名" />
                    <ext:BoundField DataField="UserRealName" SortField="UserRealName" Width="100px" HeaderText="真实姓名" />
                    <ext:BoundField DataField="IPAdddress" ExpandUnusedSpace="true" HeaderText="IP地址" />
                    <ext:WindowField Hidden="true" Text="查看" Title="查看" WindowID="Window1" DataIFrameUrlFields="UserId"
                        DataIFrameUrlFormatString="~/admin/user_view.aspx?id={0}" Width="50px" />
                </Columns>
            </ext:Grid>
        </Items>
    </ext:Panel>
    <ext:Window ID="Window1" runat="server" IsModal="true" Hidden="true" Target="Top"
       EnableIFrame="true" IFrameUrl="about:blank"

        EnableMaximize="false" EnableMinimize="false" EnableClose="false" EnableResize="false"

        Width="650px" Height="450px">
    </ext:Window>
    </form>
</body>
</html>
